  var xmlHttp;
                 function validate(name){
          
              try {
          
                        xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
                  } catch (e) {
              try {
            
                        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
                   } catch (e2) {
                 xmlHttp = false;
               }
              }
               if (!xmlHttp && typeof XMLHttpRequest != 'undefined') {
                      xmlHttp = new XMLHttpRequest();
               }
 
      xmlHttp.onreadystatechange = processStateChange;
      xmlHttp.open("GET", '/duojinV1/showUser.do?operation=deleteUser&name='+name, true); 
      xmlHttp.send(null);
    return true;
      }
      
      function processStateChange(){ 
              if (xmlHttp.readyState == 4) { // Complete 
                 if (xmlHttp.status ==200) { // OK response 
                  
                    document.getElementById("message").innerHTML=xmlHttp.responseText;
                 } else { 
                      alert("Problem: " + xmlHttp.statustext); 
                } 
      } 
} 
    function del(name){
    var con=confirm('确定删除用户'+name+'？');
    if(con==true){
    var res=validate(name);
    if(res==true){
    document.getElementById(name).removeNode(1);
    }
    
    }
    }